﻿@using ChampionsLeagueBets.Domain.Common
@using ChampionsLeagueBets.Web.Mvc.Authentication
@using ChampionsLeagueBets.Web.Mvc.Common
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
	<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
	<link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
	<link href="@Url.Content("~/Content/jquery-ui-1.8.14.custom.css")" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="https://www.google.com/jsapi"></script>
	<script src="@Url.Content("~/Content/js/jquery-1.6.1.min.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Content/js/modernizr-1.7.min.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Content/js/jquery.validate.min.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Content/js/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Content/js/jquery-ui-1.8.14.custom.min.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Content/js/MicrosoftAjax.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Content/js/MicrosoftMvcAjax.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Content/js/jquery.maskedinput-1.2.2.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Content/js/jquery.numeric.js")" type="text/javascript"></script>
	<title>@ViewBag.Title</title>

		<script language="javascript" type="text/javascript">
			jQuery(document).ready(function ($) {
				$("#page-message").delay(500).show('slide', { direction: "up" }, 500, callback);

				function callback() {
					$("#page-message").delay(5000).hide('slide', { direction: "up" }, 1000);
				};
			});

	</script>
</head>
<body>
	<div class="page">
		@if (ViewContext.TempData[ActionConfirmation.TempDataKey] != null)
		{
			var confirm = (ActionConfirmation) ViewContext.TempData[ActionConfirmation.TempDataKey];
			<div id="page-message">
				<div id="@(confirm.WasSuccessful ? "page-message-success" : "page-message-error")">@(confirm.Message)</div>
			</div>
		}

		<div id="header">
			<img style="z-index: 100" src="@Url.Content("~/Content/images/bets.png")" />
		</div>
		<div id="mainContent">
			<div class="columnsContainer">
				<div class="logonColumn">
					<div id="page-title">
						<img class="page-title-image" src="@Url.Content(ViewBag.Image)" alt="logo" /><span>@ViewBag.Title</span></div>
					@RenderBody()
				</div>
			</div>
		</div>
		<div id="footer">
			bet-at-work v. @VersionHelper.GetVersion(), 2011 Wszelkie prawa zastrzeżone
		</div>
	</div>
	<!--/page-->
	<script type="text/javascript" language="javascript">
		$(document).ready(function () {
			$("input:submit, button, .link-button").button();
		});
	</script>
</body>
</html>
